home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Utilities / Biomorph 0.77 / Biomorph src / globals.c < prev    next >
Encoding:
Text File  |  1992-09-16  |  987 b   |  37 lines  |  [TEXT/ALFA]

  1. // This has all the globals variables for the biomorph program.
  2. #include <MacHeaders>
  3. #include "complex.h"
  4. #include "constants.h"
  5. #include "mathtype.h"
  6. #include "morph.h"
  7.  
  8. // ---------------  Global variables
  9. MenuHandle    gAppleM;
  10. MenuHandle    gFileM;
  11. MenuHandle    gEditM;
  12. MenuHandle    gTypeM;    // menus
  13. WindowPtr    gMainWindow        =NULL;
  14. WindowPtr    gSelectWindow    =NULL;
  15. WindowPtr    gCurrentWindow    =NULL;
  16. WindowPtr    gControlDialog    =NULL;
  17. MorphProcH    gMorphProcH        =NULL;
  18. MorphProcP    gDefaultProcP    =NULL;
  19. MorphProcH    gDefaultProcH   =NULL;        // Default morph eqn
  20. int            gPrintY;                    // height of printing font
  21. int            gTypeChkItem;
  22. CursHandle    gCrossCursor;
  23. int            gSleepTime = 5;
  24. BitMap        gOffBM;                        // our offscreen bitmap
  25. GrafPort    gOffGP;                        // our offscreen graphics port
  26.  
  27. // ---------------  Coordinate/image information
  28. MathType gXmin = -1.0;
  29. MathType gXmax = 1.0;
  30. MathType gYmin = -1.0;
  31. MathType gYmax = 1.0;
  32. MathType gCreal = 0.0;
  33. MathType gCimag = 0.0;
  34. MathType gCenterX = 0.0;
  35. MathType gCenterY = 0.0;
  36.  
  37.